package com.zmj.sy.mom.srv.aps.bean.vo.mbd.group;

import com.zmj.sy.mom.srv.aps.utils.Comment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class MbdGetBalanceRateConfigOfGroupResVo {

    @ApiModelProperty("名称")
    private String name;

    @Comment("混产订单ID列表")
    private List<Integer> mixedOrderIds;

    @ApiModelProperty("数据")
    private List<Data> data = new ArrayList<>();

    @Getter
    @Setter
    public static class Data {

        @ApiModelProperty("名称")
        private String name;

        @ApiModelProperty("选择列表")
        private List<DataItem> checked;

    }

    @Getter
    @Setter
    public static class DataItem {

        @ApiModelProperty("id")
        private String id;

        @ApiModelProperty("显示文本")
        private String text;

        @ApiModelProperty("是否选中 true选中")
        private boolean checked;

    }

}
